<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="always" name="referrer">
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- 移动端必须的设置 -->
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<!-- 禁用电话号码检测功能，禁止对数字随便可以拨号 -->
<meta name="format-detection" content="telephone=no">
<!-- 禁用E-mail检测功能 -->
<meta name="format-detection" content="email=no">
<!-- 禁用地址检测功能，禁止跳转到地图 -->
<meta name="format-detection" content="address=no">
<!-- 在苹果设备上以全屏方式打开本网页 -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- 设置在苹果设备上状态的颜色，默认白色，要设置成什么颜色以Web颜色的风格而定 -->
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<title>途狗收油</title>
<script type="text/javascript" src="../js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="../js/base64.js"></script>
<script type="text/javascript" src="../js/layui/layui.js "></script>
<script type="text/javascript" src="../js/salesman/salesman.js?v=1.3"></script>
<script type="text/javascript" src="../vendor/resize.js"></script>
<link rel="stylesheet" href="../js/layui/css/layui.css" />
<link rel="stylesheet"
	href="../vendor/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="../css/task-details.css" />
<link rel="stylesheet" href="../css/salesman/salesman.css" />
<link rel="stylesheet" href="../css/basestyle.css" />
<link rel="stylesheet" href="../css/register.css" />
<style>
.showerror {
	display: none;
	text-align: center;
	
}
</style>
</head>
<body>
<%@ include file="../basejsp.jsp"%>
	<script type="text/javascript">
	<%String orderid = (String) request.getParameter("orderid");%>
		$(function() {
			findlist(getCookie("salesmaniphone"), <%=orderid%>, 9)
		})
	</script>
	<div class="header">
		<div class="header-top">
			<a href="../salesman/index1.jsp"><i class="fa fa-angle-left"></i></a>
			<span>任务详情</span> <i class="fa "></i>
		</div>
	</div>
	<div class="main">
		<div class="top">
			<p id="companyname"></p>
			<p id="address"></p>
			<h5>预约收油桶数</h5>
			<h2 id="num"></h2>
			<span>桶</span>
		</div>
		<div class="center">
			<div class="receipts">
				<img class="tu" src="../img/youp@2x.png" /> <span>实收桶数</span> <img
					class="jt" src="../img/arrows@2x.png" />
			</div>
			<div class="number">
				<h2>5</h2>
				<span>桶</span>
			</div>
			<div class="time">
				<p>
					<img src="../img/time@2x.png" /> <span>发布时间：<a id="createdDt"></a></span>
				</p>
				<p>
					<img src="../img/iPhone-(1)@2x.png" /> <span>联系电话:<a
						id="iphone"></a></span>
				</p>
				<!-- <p>
					<img src="../img/iPhone-(1)@2x.png" /> <span>订单号:<a id="orderno"></a></span>
				</p> -->
			</div>
			<div class="information">
				<p class="name">
					<img src="../img/user@2x.png" /> <span id="name">某某（供应商）</span>
				</p>
				<hr />
				<div class="process">
					<div class="wait" style="width: 1.3rem;">任务待确认</div>
					<span >----</span>
					<div class="now" style="width: 1.3rem;">收油进行中</div>
					<span >----</span>
					<div class="finish" style="width: 1.3rem;">任务结束</div>
					<div class="process-time">
						<div class="wait-time" style="width: 1.4rem;"></div>
						<span></span>
						<div class="now-time" style="width: 1.4rem;"></div>
						<span></span>
						<div class="finish-time" style="width: 1.4rem;"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="bottom">
		<a class="sure" onclick="updateorders(<%=orderid%>,this.name)"
			name="3">确认任务</a>
	</div>
<div id="popupwindows" class="popupwindows">

<div class="layui-form layui-form-pane" style="margin-top: 45px">
		<div class="layui-form-item">
			<label class="layui-form-label" style="width: 100px;font-size: 0.3rem;">实际收油</label>
			<div class="layui-input-block" style="margin-left: 100px">
				<input type="text" name="title" autocomplete="off"
					id="realnum" class="layui-input" style="font-size: 0.3rem;">
			</div>
		</div>
		</div>
		 <button class="layui-btn layui-btn-normal" style="width: 100%;    margin-top: 64px;" onclick="newupdateorderhttp()">确认提交</button>

<!-- 
		<div class="register">
			<div class="top">
				<span>———————</span> <span class="words">实际收油</span> <span>———————</span>
			</div>
			<div class="main">
				<div class="main-center" style="height: 150px">
					<div class="phone">
						<span>实际收油</span> <input type="text" id="realnum" />
						placeholder="请输入手机号"
					</div>
				</div>
				<div class="main-bottom">
					<a class="sure" href="javascript:;" onclick="newupdateorderhttp()">确&nbsp;认</a>
				</div>
			</div>
		</div> -->
	</div>
	<script type="text/javascript">
	$(function(){
			var index = layer.load(2, {
				shade: [0.5, '#fff'],
				time: 3000
			});
	})
	</script>
</body>
</html>